// 入库单打印模板
export default {
  panels: [
    {
      index: 0,
      height: 297,
      width: 210,
      paperHeader: 49.5,
      paperFooter: 780,
      printElements: [
        {
          options: {
            left: 20,
            top: 20,
            height: 30,
            width: 170,
            title: '入库单',
            fontSize: 18,
            fontWeight: 'bold',
            textAlign: 'center',
            color: '#000000',
          },
          printElementType: {
            type: 'text',
          },
        },
        {
          options: {
            left: 20,
            top: 60,
            height: 20,
            width: 80,
            title: '单据编号：',
            fontSize: 12,
          },
          printElementType: {
            type: 'text',
          },
        },
        {
          options: {
            left: 100,
            top: 60,
            height: 20,
            width: 90,
            field: 'orderNumber',
            testData: 'IN202312010001',
            fontSize: 12,
          },
          printElementType: {
            type: 'text',
          },
        },
        {
          options: {
            left: 20,
            top: 90,
            height: 20,
            width: 80,
            title: '入库日期：',
            fontSize: 12,
          },
          printElementType: {
            type: 'text',
          },
        },
        {
          options: {
            left: 100,
            top: 90,
            height: 20,
            width: 90,
            field: 'inDate',
            testData: '2023-12-01',
            fontSize: 12,
          },
          printElementType: {
            type: 'text',
          },
        },
      ],
    },
  ],
};
